package com.zb.springboot_zb_sql.mapper;

import com.zb.springboot_zb_sql.bean.Role;
import com.zb.springboot_zb_sql.bean.Users;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UsersMapper {
     Users getUsers(@Param("username") String username);


     Role getRoleByUserId(@Param("userId") Long userId);
}
